# -*- coding: utf-8 -*-
"""
Created on Mon Oct 12 22:13:11 2020

@author: Xinning XN Lu
"""
from flask import Flask

app = Flask(__name__)


from api.cluster_model import model_api
app.register_blueprint(model_api)

from api.formula import formula_api
app.register_blueprint(formula_api)


if __name__ == '__main__':
    app.config['JSON_AS_ASCII'] = False # 返回中文
    app.run(host='127.0.0.1', port=5006, debug=True,threaded=True)